package com.simple.template.demo001;

public class Shopping_zhangsan {
    public void buyGoods(){
        //登录
        login();
        //购买
        buy();
        //支付
        pay();
    }

    public void login() {
        System.out.println("手机号码登录");
    }

    public void buy() {
        System.out.println("我是张三，购买一双耐克的鞋子");
    }

    public void pay() {
        System.out.println("支付宝支付");
    }
}
